package com.wanfeng.oa.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wanfeng.model.system.SysMenu;

import java.util.List;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author wanfeng
 * @since 2023-11-23
 */
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    List<SysMenu> findSysMenuByRoleId(Long roleId);

    List<SysMenu> findUserMenuList(Long userId);
}
